package game;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;

public class GameFrame{
	private JFrame frame;
	private GameField gameField;
	
	public GameFrame(){
		frame = new JFrame();
		frame.setLayout(new FlowLayout());
		gameField = new GameField();
		frame.add(gameField);
		frame.pack();
		frame.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
		frame.setVisible(true);
		gameField.newGame();
		
	}
	
	public static void main(String args[]){
		new GameFrame();
	}
}
